package com.wxy.zhuzhoubaoliao;

import java.io.File;

import com.ak.zhuzhou.R;

import android.app.ActionBar;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.Toast;

public class Fabubaoliaoactionbar extends Activity {
			private Button back;
			private Button fabiao;
			private ImageView shangchuantupian;
			private ImageView imageView;
			private EditText editTexttitle;
			private EditText editTextcontent;
			private String picPath = null;
			@Override
			protected void onCreate(Bundle savedInstanceState) {
				// TODO Auto-generated method stub
				super.onCreate(savedInstanceState);
				
				setContentView(R.layout.y_fabubaoliaoitem);
				ActionBar actionBar=this.getActionBar();
				actionBar.setDisplayShowCustomEnabled(true);
				actionBar.setDisplayShowTitleEnabled(false);
				actionBar.setDisplayHomeAsUpEnabled(false);
				actionBar.setDisplayShowHomeEnabled(false);
				View v=getLayoutInflater().inflate(R.layout.y_fabubaoliaoactionbar, null);
				back=(Button) v.findViewById(R.id.back);
				fabiao=(Button) v.findViewById(R.id.fabiao);
				editTexttitle=(EditText) findViewById(R.id.edittexttitle);
				editTextcontent=(EditText)findViewById(R.id.edittextcontent);
				shangchuantupian=(ImageView)findViewById(R.id.shangchuantupian);
			    imageView=(ImageView)findViewById(R.id.tupianxianshi);
				actionBar.setCustomView(v);
				
			}
		public void back(View v){
			this.finish();
		}
		public void fabiao(View v){
			Toast.makeText(this, "111111111111"+editTextcontent.getText().toString(), 200).show();	
		}
		

}
